import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'en_US.dart';
import 'zh_CN.dart';

class TranslationService extends Translations {

  ///英文
  static Locale get enUSLocale => const Locale('en', 'US');//Get.deviceLocale;

  ///简体中文
  static Locale get zhCNLocale => const Locale('zh', 'CN');

  static const fallCallback = Locale('zh', 'CN');

  @override
  // TODO: implement keys
  Map<String, Map<String, String>> get keys => {
    'zh_CN': zh_CN,
    'en_US': en_US,
  };

}